package quick.start.core.exception;

/*
 * {@link ResultException}分类下的Post/反馈类型操作的返回异常 <br/>
 * 若服务器端的<strong>正常返回</strong>中表达了<strong>操作失败</strong>的语义, 则抛出此类异常. <br/>
 * 如:收藏题目, 返回"-1"(表示收藏失败), 则抛出此类异常
 * 
 * @author geechrist
 */
public class OperationFailException extends ResultException {

    private static final long   serialVersionUID     = 6593355176041772114L;
    private static final String OperationFailMessage = "操作失败";

    public OperationFailException() {
        super(OperationFailMessage);
    }

    public OperationFailException(Exception e) {
        super(OperationFailMessage, e);
    }

    public OperationFailException(String detailMessage, Exception e) {
        super(detailMessage, e);
    }

    public OperationFailException(String detailMessage) {
        super(detailMessage);
    }

}
